SimplePagination

data class SimplePagination(page: Int, size: Int) : Pagination

Functions

Link copied to clipboard
open operator fun contains(value: Int): Boolean
Link copied to clipboard
open fun isEmpty(): Boolean

Properties

Link copied to clipboard
open override val endInclusive: Int
Link copied to clipboard
open override val page: Int

Started with 0. Number of page inside of pagination. Offset can be calculated as page * size

Link copied to clipboard
open override val size: Int

Can be 0, but can't be < 0 Size of current page. Offset can be calculated as page * size

Link copied to clipboard
open override val start: Int